<%--
  Created by IntelliJ IDEA.
  User: 檬zhu
  Date: 2021/12/16
  Time: 19:21
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" pageEncoding="UTF-8" %>
<html>
<head>
    <title>系统后台</title>
    <link rel="icon" href="${pageContext.request.contextPath}/resources/images/index.jpg" type="image/x-icon"/>
    <link rel="stylesheet" href="/resources/css/pintuer.css">
    <link rel="stylesheet" href="/resources/css/merchant.css">
    <script src="/resources/js/jquery-1.9.1.min.js"></script>
</head>
<body style="background-color:#ABCDEF;">
<div class="header bg-main">
    <div class="logo margin-big-left fadein-top">
        <h1 style="font-family: FZShuTi; font-size: 30px"><img src="/resources/images/index.jpg" class="radius-circle rotate-hover" height="50" alt="" />商家管理后台</h1>
    </div>
    <div class="head-l" style="float: right; margin-right: 20px">
        <a class="button button-little bg-green" href="" target="_blank"><span class="icon-home"></span> 后台首页</a>
        &nbsp;&nbsp;<a class="button button-little bg-red" href="/"><span class="icon-power-off"></span> 退出登录</a>
    </div>
</div>
<div class="leftnav">
    <div class="leftnav-title"><strong><span class="icon-list"></span>菜单列表</strong></div>
    <h2><span class="icon-user"></span>基本设置</h2>
    <ul style="display:block">
        <li><a href="${pageContext.request.contextPath}/merchant/modifyPassPage" target="right"><span class="icon-caret-right"></span>修改密码</a></li>
        <li><a href="${pageContext.request.contextPath}/merchant/dishManagePage" target="right"><span class="icon-caret-right"></span>查看菜品</a></li>
        <li><a href="${pageContext.request.contextPath}/merchant/addDishPage" target="right"><span class="icon-caret-right"></span>添加菜品</a></li>
        <li><a href="${pageContext.request.contextPath}/merchant/categoryPage" target="right"><span class="icon-caret-right"></span>查看分类</a></li>
        <li><a href="${pageContext.request.contextPath}/merchant/addCategoryPage" target="right"><span class="icon-caret-right"></span>添加分类</a></li>
        <li><a href="${pageContext.request.contextPath}/merchant/allOrder" target="right"><span class="icon-caret-right"></span>订单管理</a></li>
        <li><a href="${pageContext.request.contextPath}/merchant/roomAddress" target="right"><span class="icon-caret-right"></span>查看店面</a></li>
        <li><a href="${pageContext.request.contextPath}/merchant/addAddressPage" target="right"><span class="icon-caret-right"></span>添加店面</a></li>
    </ul>
</div>
<script type="text/javascript">
    $(function(){
        $(".leftnav h2").click(function(){
            $(this).next().slideToggle(200);
            $(this).toggleClass("on");
        })
        $(".leftnav ul li a").click(function(){
            $("#a_leader_txt").text($(this).text());
            $(".leftnav ul li a").removeClass("on");
            $(this).addClass("on");
        })
    });
</script>
<ul class="bread">
    <li><span target="right" class="icon-home" style="color: #333"> 首页</span></li>
    <li><span id="a_leader_txt" style="color: #333">操作指南</span></li>
</ul>
<div class="admin">
    <iframe scrolling="auto" rameborder="0" src="${pageContext.request.contextPath}/merchant/guide" name="right" width="100%" height="100%"></iframe>
</div>
</body>
</html>
